﻿using System.Collections.Generic;
using DataType.CustomEnumType;

namespace DataType.JudgeResults
{
    public class ChangeStateJudgeResult : IJudgeResult
    {
        private int obj_id;
        private ActionType action_type = ActionType.ChangeState;
        private bool is_success;
        private MoveStateType target_state;

        public int ObjID => obj_id;

        public ActionType ActionType => action_type;

        public bool IsSuccess => is_success;

        public MoveStateType TargetState { get => target_state; set => target_state = value; }
        public ChangeStateJudgeResult(int obj_id, bool is_success, MoveStateType target_state)
        {
            this.obj_id = obj_id;
            this.is_success = is_success;
            this.target_state = target_state;
        }
    }
}
